/*
 * Project: push-center-service-impl
 * 
 * File Created at 2014-10-9
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package com.greenline.push.service.core.throttle;

import com.greenline.push.core.enums.Channels;

/**
 * 渠道阀
 * 
 * @author weirui.shenwr
 * @date 2014-10-9
 * @version V1.0
 */
public class ChannelThrottle {
    private Channels channel;// 渠道
    private Integer threshold;// 阀值

    public ChannelThrottle() {
    }

    public ChannelThrottle(Channels channel, Integer threshold) {
        this.channel = channel;
        this.threshold = threshold;
    }

    public Channels getChannel() {
        return channel;
    }

    public void setChannel(Channels channel) {
        this.channel = channel;
    }

    public Integer getThreshold() {
        return threshold;
    }

    public void setThreshold(Integer threshold) {
        this.threshold = threshold;
    }

}
